<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 
<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=0">

		<title>个人资料</title>

		<link href="AmazeUI-2.4.2/assets/css/admin.css" rel="stylesheet" type="text/css">
		<link href="AmazeUI-2.4.2/assets/css/amazeui.css" rel="stylesheet" type="text/css">

		<link href="css/personal.css" rel="stylesheet" type="text/css">
		<link href="css/infstyle.css" rel="stylesheet" type="text/css">
		<script src="AmazeUI-2.4.2/assets/js/jquery.min.js" type="text/javascript"></script>
		<script src="AmazeUI-2.4.2/assets/js/amazeui.js" type="text/javascript"></script>
			
	</head>
<body>
    <!--banner 开始-->
  
			<b class="line"></b>		
		<div class="center">
			<div class="col-main">
				<div class="main-wrap">

					<div class="user-info">
						<!--标题 -->
						<div class="am-cf am-padding">
							<div class="am-fl am-cf"><strong class="am-text-danger am-text-lg">修改果蔬</strong> / <small>Edit&nbsp;Product</small></div>
						</div>
						<hr/>

						<!--头像 -->

						<!--个人信息 -->
						<div class="info-main">
							<form class="am-form am-form-horizontal" action="editProductVerification" method="post" >

								<div class="am-form-group">
									<label for="user-name2" class="am-form-label">商品名称 :</label>
									<div class="am-form-content">
										<input name="name" value="${pd.name }" type="text" id="user-name2" placeholder="name">

									</div>
								</div>

								<div class="am-form-group">
									<label for="user-name" class="am-form-label">商品价格 :</label>
									<div class="am-form-content">
										<input name="price" value="${pd.price }" type="text" id="user-name2" placeholder="price">

									</div>
								</div>
								<div class="am-form-group">
									<label for="user-name" class="am-form-label">商品介绍:</label>
									<div class="am-form-content">
										<input name="info" value="${pd.info }" type="text" id="user-name2" placeholder="info">

									</div>
								</div>
								<div class="am-form-group">
									<label for="user-birth" class="am-form-label">分类</label>
									<div class="am-form-content birth">
										<div class="birth-select">
											<select data-am-selected style="height:200px;">
										<c:forEach items="${fl}" var="fl">
											<option value ="${fl.id}">${fl.name}</option>
	  									 </c:forEach>
											</select>
										</div>
									</div>
								</div>								
								<div class="info-btn" style="margin-top:50px;">
									<button class="am-btn am-btn-danger" type="submit">保存修改</button>
								</div>

							</form>
						</div>

					</div>
				</div>
				<!--底部-->
				<div class="footer" style="padding-bottom:0px; margin-top:200px;">
	<div class="box" style=" width:1800px; height:270px; margin:0 auto ;text-align:center;padding:0px;display:block;">
        
 			 <img src="img/timg.jpg" style="width:450px;float:left;"> 	
        	 <img src="img/timg.jpg" style="width:450px;float:left;">  
			 <img src="img/timg.jpg" style="width:450px;float:left;"> 
          </div>
</div>
			</div>

			<aside class="menu">
				<ul>
					<li class="person">
						<a >个人中心</a>
					</li>					
					<li class="person">
						<ul>
							<li><a href="adminindex">添加果蔬</a></li>
							<li> <a href="adminproduct">果蔬管理</a></li>
							<li> <a href="adminfenlei">添加分类</a></li>
							<li> <a href="logout">注销登陆</a></li>
						</ul>
						
					</li>

			

				</ul>

			</aside>
		</div>

	</body>

</html>
